import Dayjs from 'dayjs'

export const formatDateFull = (value: string) => {
  return Dayjs(value).format('YYYY-MM-DD HH:mm:ss')
}

export const formatBirthday = (value: string) => {
  return Dayjs(value).format('YYYY-MM-DD')
}

export const formatDate = (value: string) => {
  return Dayjs(value).format('MM-DD')
}
